package com.book.book.domain;

import java.io.Serializable;
import java.util.Date;



/**
 * 图书商品表
 * 
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-02-02 10:14:15
 */
public class BooksDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//图书id
	private Integer bookId;
	//图书名称
	private String bookName;
	//图书图片
	private String bookImg;
	//作者
	private String author;
	//规则id
	private Integer rulerId;
	//出版社
	private String press;
	//推荐 0：否，1：推荐
	private Integer isRecommend;
	//最新 0：陈旧，1：最新
	private Integer isNewest;
	//总数量
	private Integer total;
	//上传时间
	private Date upDate;
	//图书简介
	private String appear;
	private int catId;

	private String redundance1;
	//冗余
	private String redundance2;
	//冗余
	private String redundance3;
	//冗余
	private String redundance4;
	//冗余
	private String redundance5;

	private String redundance6;
	//冗余
	private String redundance7;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	//用户id, 0:系统用户，>0:普通用户
	private String userId;

	/**
	 * 设置：图书id
	 */
	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}
	/**
	 * 获取：图书id
	 */
	public Integer getBookId() {
		return bookId;
	}
	/**
	 * 设置：图书名称
	 */
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	/**
	 * 获取：图书名称
	 */
	public String getBookName() {
		return bookName;
	}
	/**
	 * 设置：图书图片
	 */
	public void setBookImg(String bookImg) {
		this.bookImg = bookImg;
	}
	/**
	 * 获取：图书图片
	 */
	public String getBookImg() {
		return bookImg;
	}
	/**
	 * 设置：作者
	 */
	public void setAuthor(String author) {
		this.author = author;
	}
	/**
	 * 获取：作者
	 */
	public String getAuthor() {
		return author;
	}
	/**
	 * 设置：规则id
	 */
	public void setRulerId(Integer rulerId) {
		this.rulerId = rulerId;
	}
	/**
	 * 获取：规则id
	 */
	public Integer getRulerId() {
		return rulerId;
	}
	/**
	 * 设置：出版社
	 */
	public void setPress(String press) {
		this.press = press;
	}
	/**
	 * 获取：出版社
	 */
	public String getPress() {
		return press;
	}
	/**
	 * 设置：推荐 0：否，1：推荐
	 */
	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}
	/**
	 * 获取：推荐 0：否，1：推荐
	 */
	public Integer getIsRecommend() {
		return isRecommend;
	}
	/**
	 * 设置：最新 0：陈旧，1：最新
	 */
	public void setIsNewest(Integer isNewest) {
		this.isNewest = isNewest;
	}
	/**
	 * 获取：最新 0：陈旧，1：最新
	 */
	public Integer getIsNewest() {
		return isNewest;
	}
	/**
	 * 设置：总数量
	 */
	public void setTotal(Integer total) {
		this.total = total;
	}
	/**
	 * 获取：总数量
	 */
	public Integer getTotal() {
		return total;
	}
	/**
	 * 设置：上传时间
	 */
	public void setUpDate(Date upDate) {
		this.upDate = upDate;
	}
	/**
	 * 获取：上传时间
	 */
	public Date getUpDate() {
		return upDate;
	}
	/**
	 * 设置：冗余
	 */
	public void setRedundance1(String redundance1) {
		this.redundance1 = redundance1;
	}
	/**
	 * 获取：冗余
	 */
	public String getRedundance1() {
		return redundance1;
	}
	/**
	 * 设置：冗余
	 */
	public void setRedundance2(String redundance2) {
		this.redundance2 = redundance2;
	}
	/**
	 * 获取：冗余
	 */
	public String getRedundance2() {
		return redundance2;
	}
	/**
	 * 设置：冗余
	 */
	public void setRedundance3(String redundance3) {
		this.redundance3 = redundance3;
	}
	/**
	 * 获取：冗余
	 */
	public String getRedundance3() {
		return redundance3;
	}
	/**
	 * 设置：冗余
	 */
	public void setRedundance4(String redundance4) {
		this.redundance4 = redundance4;
	}
	/**
	 * 获取：冗余
	 */
	public String getRedundance4() {
		return redundance4;
	}
	/**
	 * 设置：冗余
	 */
	public void setRedundance5(String redundance5) {
		this.redundance5 = redundance5;
	}
	/**
	 * 获取：冗余
	 */
	public String getRedundance5() {
		return redundance5;
	}
	/**
	 * 设置：用户id, 0:系统用户，>0:普通用户
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id, 0:系统用户，>0:普通用户
	 */
	public String getUserId() {
		return userId;
	}

	public String getRedundance6() {
		return redundance6;
	}

	public void setRedundance6(String redundance6) {
		this.redundance6 = redundance6;
	}

	public String getRedundance7() {
		return redundance7;
	}

	public void setRedundance7(String redundance7) {
		this.redundance7 = redundance7;
	}

	public String getAppear() {
		return appear;
	}

	public void setAppear(String appear) {
		this.appear = appear;
	}

	public int getCatId() {
		return catId;
	}

	public void setCatId(int catId) {
		this.catId = catId;
	}
}
